package com.anpy.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 事件类型实体类
 */
@Data
@TableName(value = "T_DATE_LINE_TYPE")
@ApiModel(description = "事件类型信息")
public class DateLineTypeEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "类型ID", example = "1")
    private Long id;

    @TableField(value = "name")
    @ApiModelProperty(value = "类型名称", example = "家庭聚会")
    private String name;

    @TableField(value = "type")
    @ApiModelProperty(value = "类型编码", example = "1")
    private Integer type;

    @TableField(value = "user_id")
    @ApiModelProperty(value = "用户ID", example = "1")
    private Integer userId;
}
